//
//  UIStandardNameInputLabel.h
//  vhECGTools
//
//  Created by jia yu on 2022/7/14.
//

#import <UIKit/UIKit.h>
#import <vhECGTools/vhECGTools.h>

typedef NS_ENUM(NSInteger, UIStandardNameInputLabel_Style) {
    UIStandardNameInputLabel_Style_Default = 0,      //名字后面紧跟输入框
    UIStandardNameInputLabel_Style_Manual = 1,     //单位放在最右侧
};

NS_ASSUME_NONNULL_BEGIN
@interface UIStandardNameInputLabel : UIView
@property (nonatomic) UILabel *nameLabel;
@property (nonatomic) UIStandardInputTextField *inputField;
@property (nonatomic) UILabel *unitLabel;
@property (nonatomic) UIStandardNameInputLabel_Style style;
@property (nonatomic) NSString *string;

-(id)initWithFrame:(CGRect)frame scale:(float)scale;
@end
NS_ASSUME_NONNULL_END
